<?php
use Illuminate\Database\Seeder;
use App\Models\Config;

class ConfigsSeeder extends Seeder
{

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Config::insert([
            ['title' => "部门负责人考核得分比例", 'name' => 'principal', 'value' => '[30,40,20,10]', 'remark' => '部门负责人考核得分算法'],
            ['title' => "其他职工考核得分比例", 'name' => 'staff', 'value' => '[20,30,20,20,10]', 'remark' => '其他职工考核得分算法']
        ]);
    }
}
